package top.conangao.uaa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import top.conangao.uaa.domain.SysMenu;
import top.conangao.uaa.service.SysMenuService;
import top.conangao.uaa.mapper.SysMenuMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Admin
* @description 针对表【sys_menu(菜单表)】的数据库操作Service实现
* @createDate 2023-12-14 16:24:03
*/
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu>
    implements SysMenuService{

    @Override
    public List<String> getPermissionsByUserId(Long id) {
        return baseMapper.getPermissionsByUserId(id);
    }
}




